#ifndef SCOPEDTRACER_H
#define SCOPEDTRACER_H

#include <QDebug>

class ScopedTracer
{
public:
    ScopedTracer(QString text);
    ~ScopedTracer();
    operator QDebug ();
    
private:
    QDebug outputIndented(QString content);

private:
    QString text;
    static int indentCount; 
};

#endif // SCOPEDTRACER_H
